var SqHTMLDecodeObj = function(obj) {
    var text = JSON.stringify(obj);
    var temp = document.createElement("div");
    temp.innerHTML = text;
    var output = temp.innerText || temp.textContent;
    temp = null;
    return JSON.parse(output);
}
var SqHTMLDecodeString = function(text) {
    var temp = document.createElement("div");
    temp.innerHTML = text;
    var output = temp.innerText || temp.textContent;
    temp = null;
    return output;
}